{"version":3,"file":"dataloader.min.js","sources":["dataloader.js"],"names":["AmCharts","addInitHandler","chart","undefined","dataLoader","isObject","version","split","Number","l","remaining","defaults","async","format","showErrors","showCurtain","noStyles","reload","timestamp","delimiter","skip","useColumnNames","reverse","reloading","type","setTimeout","panelsSettings","startDuration","x","dataSets","ds","url","dataProvider","applyDefaults","loadFile","eventDataLoader","events","holder","options","providerKey","window","XMLHttpRequest","request","ActiveXObject","onreadystatechange","readyState","status","raiseError","__","toLowerCase","postprocess","parseJSON","responseText","parseCSV","e","validateNow","validateData","panels","animateAgain","periodSelector","setDefaultPeriod","removeCurtain","timeout","clearTimeout","open","timestampUrl","send","response","JSON","parse","eval","data","CSVToArray","res","cols","shift","i","row","pop","dataPoint","length","col","push","postProcess","isFunction","call","this","isArray","obj","Array","setDefault","key","value","msg","error","console","log","language","translations","curtain","document","createElement","setAttribute","div","id","className","style","position","top","left","width","realWidth","divRealWidth","height","realHeight","divRealHeight","textAlign","display","fontSize","background","innerHTML","containerDiv","appendChild","removeChild","p","Date","getTime","join","strData","strDelimiter","objPattern","RegExp","arrData","arrMatches","exec","strMatchedDelimiter","strMatchedValue","replace"],"mappings":"AAgCAA,SAASC,eAAgB,SAAWC,OAKlC,GAAKC,YAAcD,MAAME,aAAgBC,SAAUH,MAAME,YACvDF,MAAME,aAMR,IAAIE,SAAUJ,MAAMI,QAAQC,MAAO,IACnC,IAAOC,OAAQF,QAAQ,IAAO,GAAS,GAAKE,OAAQF,QAAQ,KAAUE,OAAQF,QAAQ,IAAO,GAC3F,MAKF,IAAIG,GAAIP,MAAME,UACdK,GAAEC,UAAY,CAKd,IAAIC,WACFC,MAAkB,KAClBC,OAAiB,OACjBC,WAAkB,KAClBC,YAAkB,KAClBC,SAAkB,MAClBC,OAAkB,EAClBC,UAAkB,MAClBC,UAAkB,IAClBC,KAAkB,EAClBC,eAAkB,MAClBC,QAAkB,MAClBC,UAAkB,MAMpB,IAAK,UAAYrB,MAAMsB,KAAO,CAG5BC,WAA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